package edu.mama.college.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 用户学习记录
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class UserStudyRecord {

    private int id;
    //学习日期
    private Date date;
    //用户ID
    private int userId;
    //课程ID
    private int courseId;
    //正在学习的章节ID
    private int lessonId;
    //学习时长（单位：分钟）
    private int mins;

}
